package com.tide.crm.service;

import com.tide.crm.dto.CustomerDto;
import com.tide.crm.dto.LoginUser;
import com.tide.crm.model.CustomerInfo;

import java.util.List;
import java.util.Map;

public interface CustomerInfoService {

    String saveCustomer(Map<String,Object> params, LoginUser user);

    CustomerDto getById(Long id);

    String updateCustomer(CustomerDto customerDto,String[] post,String[] fullName,String[] mobile,String[] tel,String[] email, LoginUser user);

    int count(Map<String, Object> params);

    List<CustomerDto> list(Map<String, Object> params, Integer offset, Integer limit);

    List<String> getEventNowInfo(String username);
}
